const router = require('koa-router')();
const checkToken = require('../../utils/checkToken');
const con = require('../controller/con_test');
router.prefix('/test');
router.get('/testBaiduCli',con.testBaiduCli);
router.get('/create',checkToken, con.createTest);
router.get('/find', con.findTest);
router.get('/redisTest',con.redisTest);
router.get('/setSessionTest',con.setSessionTest);
router.get('/getSessionTest',con.getSessionTest);
router.post('/setCookieTest',con.setCookieTest);
router.get('/getCookieTest',con.getCookieTest);
module.exports = router;
